/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.skuboard.model;

import java.util.Date;
import java.util.HashMap;
import java.util.List;

/**
 *
 * @author clockbuilder
 */

public class Student extends User{
        public String classLevel;
	public List<Course> coursesRegistered;
	public HashMap<Course,String> coursesAndGrades;
	public Student() {
		
	}


    public Student(String userID, String firstName, String lastName, String otherNames, Date dateOfBirth, String address, String eMail, String classLevel) {
        super(userID, firstName, lastName, otherNames, dateOfBirth, address, eMail);
        this.classLevel = classLevel;
    }

    public String getClassLevel() {
        return classLevel;
    }

    public void setClassLevel(String classLevel) {
        this.classLevel = classLevel;
    }

    

    @Override
    public String toString() {
        String studentDetails="";
        String NEW_LINE = "<br>";
        studentDetails = 
                NEW_LINE + "First Name: " + this.getFirstName()
                + NEW_LINE + "Other Name(s): " + this.getOtherName()
                + NEW_LINE + "Last Name: " + this.getlastName()
                + NEW_LINE + "Student Address: " + this.getAddress()
                + NEW_LINE + "Date of Birth: " + this.getDateOfBirth()
                + NEW_LINE + "Email Address: " + this.getEMail()
                + NEW_LINE + "Class: " + this.getClassLevel()
                + NEW_LINE + "Id No.: " + this.getId()
                ;
        return studentDetails;
    }
        

}